package com.mdd.admin.validate;

import com.mdd.common.entity.FlowNode;
import com.mdd.common.entity.Node;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import java.io.Serializable;
import java.util.List;
import javax.validation.constraints.*;
import com.mdd.common.validator.annotation.IDMust;

/**
 * 部门流程关联参数
 * @author LikeAdmin
 */
@Data
@ApiModel("部门流程关联更新参数")
public class DeptFlowUpdateValidate implements Serializable {

    private static final long serialVersionUID = 1L;

    @IDMust(message = "id参数必传且需大于0")
    @ApiModelProperty(value = "主键")
    private Integer id;

    @ApiModelProperty(value = "部门编号")
    private Integer depId;

    @ApiModelProperty(value = "类型")
    private String type;

    @ApiModelProperty(value = "流程类型")
    private String proposalType;

    @ApiModelProperty(value = "已配置流程")
    private String configProposal;

    @ApiModelProperty(value = "是否基础流程")
    private String isBasics;

    //流程节点关联对象
    private FlowNode flowNode;

    //节点数组对象
    private List<Node> nodes;

}
